package com.zline.foodraise.entity;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by heshantao on 15/11/25.
 * 选择收货地址以后的返回给订单支付的地址
 */
public class PrepageUrlBean implements Parcelable {
    //url 地址
    String prepageurl;

    public PrepageUrlBean() {
    }

    public PrepageUrlBean(String prepageurl) {
        this.prepageurl = prepageurl;
    }

    public String getPrepageurl() {
        return prepageurl;
    }

    public void setPrepageurl(String prepageurl) {
        this.prepageurl = prepageurl;
    }


    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.prepageurl);
    }

    protected PrepageUrlBean(Parcel in) {
        this.prepageurl = in.readString();
    }

    public static final Parcelable.Creator<PrepageUrlBean> CREATOR = new Parcelable.Creator<PrepageUrlBean>() {
        public PrepageUrlBean createFromParcel(Parcel source) {
            return new PrepageUrlBean(source);
        }

        public PrepageUrlBean[] newArray(int size) {
            return new PrepageUrlBean[size];
        }
    };
}
